// 顺序查找

let str = "abcdefghijklmnopqrstuvwxyz", dataArray = str.split('');

/**
 * 顺序查找
 * @param dataArray
 * @param s
 */
function orderSearch(dataArray, s) {
    // 参考indexOf的实现方式,循环数组就可以了
}

function count(array) {
    if (array.length == 0) {
        array.push(0);
    }
    if (array.length == 1) {
        array.push(1);
    }

}